package com.example.chenjun.myapplication.mvp.contract;

import com.example.chenjun.myapplication.bean.CookBean;
import com.example.chenjun.myapplication.mvp.BasePresenter;
import com.example.chenjun.myapplication.mvp.IView;
import com.example.chenjun.myapplication.mvp.model.CookModel;

import java.util.List;

public class LabelDetailContract {
    public interface LabelDetailView extends IView{
        void getLabelDetailSuccess(List<CookBean> list);

        void getLabelDetailFailed(Exception e);
    }

    public static abstract class AbstractLabelDetailPresenter extends BasePresenter<CookModel, LabelDetailView>{
        public abstract void getLabelDetail(String labelId, int index, int size);
    }
}
